﻿using Newtonsoft.Json;
/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【单据】
==================================================================
*/

namespace Models
{
    /// <summary>
    /// 单据  FilterModel
    /// </summary>
    public partial class BillFilterModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int? _BillID { get; set; }
        public List<int> _BillIDs { get; set; }
        public List<int> _NotBillIDs { get; set; }

        /// <summary>
        /// 集团
        /// </summary>
        public int? _GroupInfoID { get; set; }
        public List<int> _GroupInfoIDs { get; set; }
        public List<int> _NotGroupInfoIDs { get; set; }

        /// <summary>
        /// 单号
        /// </summary>
        public string _Code { get; set; }
        public string _CodeEqual { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        public DateTime? _BillDate { get; set; }
        public DateTime? _BillDate_Begin { get; set; }
        public DateTime? _BillDate_End { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int? _InOutType { get; set; }
        public List<int> _InOutTypes { get; set; }
        public List<int> _NotInOutTypes { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public int? _OperTypeID { get; set; }
        public List<int> _OperTypeIDs { get; set; }
        public List<int> _NotOperTypeIDs { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int? _WarehouseID { get; set; }
        public List<int> _WarehouseIDs { get; set; }
        public List<int> _NotWarehouseIDs { get; set; }

        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string _ApplyUserName { get; set; }
        public string _ApplyUserNameEqual { get; set; }

        /// <summary>
        /// 提交人姓名
        /// </summary>
        public string _SubmitUserName { get; set; }
        public string _SubmitUserNameEqual { get; set; }

        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime? _SubmitDate { get; set; }
        public DateTime? _SubmitDate_Begin { get; set; }
        public DateTime? _SubmitDate_End { get; set; }

        /// <summary>
        /// 退回/作废人姓名
        /// </summary>
        public string _BackUserName { get; set; }
        public string _BackUserNameEqual { get; set; }

        /// <summary>
        /// 退回/作废时间
        /// </summary>
        public DateTime? _BackDate { get; set; }
        public DateTime? _BackDate_Begin { get; set; }
        public DateTime? _BackDate_End { get; set; }

        /// <summary>
        /// 确认人姓名
        /// </summary>
        public string _ConfirmUserName { get; set; }
        public string _ConfirmUserNameEqual { get; set; }

        /// <summary>
        /// 确认时间
        /// </summary>
        public DateTime? _ConfirmDate { get; set; }
        public DateTime? _ConfirmDate_Begin { get; set; }
        public DateTime? _ConfirmDate_End { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? _Status { get; set; }
        public List<int> _Statuss { get; set; }
        public List<int> _NotStatuss { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string _CreateUserName { get; set; }
        public string _CreateUserNameEqual { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? _CreateDate { get; set; }
        public DateTime? _CreateDate_Begin { get; set; }
        public DateTime? _CreateDate_End { get; set; }

    }





    /// <summary>
    /// 单据  Model
    /// </summary>
    public partial class BillModel
    {
        /// <summary>
        /// 只读属性，统一主键名称
        /// </summary>
        public int AutoID
        {
            get
            {
                return BillID;
            }
        }

        /// <summary>
        /// 编号
        /// </summary>
        public int BillID { get; set; }

        /// <summary>
        /// 集团
        /// </summary>
        public int GroupInfoID { get; set; }

        /// <summary>
        /// 单号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        public DateTime BillDate { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int InOutType { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public int OperTypeID { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public int WarehouseID { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        public int ApplyUserID { get; set; }

        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string ApplyUserName { get; set; }

        /// <summary>
        /// 提交人
        /// </summary>
        public int? SubmitUserID { get; set; }

        /// <summary>
        /// 提交人姓名
        /// </summary>
        public string SubmitUserName { get; set; }

        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime? SubmitDate { get; set; }

        /// <summary>
        /// 退回/作废人
        /// </summary>
        public int? BackUserID { get; set; }

        /// <summary>
        /// 退回/作废人姓名
        /// </summary>
        public string BackUserName { get; set; }

        /// <summary>
        /// 退回/作废时间
        /// </summary>
        public DateTime? BackDate { get; set; }

        /// <summary>
        /// 确认人
        /// </summary>
        public int? ConfirmUserID { get; set; }

        /// <summary>
        /// 确认人姓名
        /// </summary>
        public string ConfirmUserName { get; set; }

        /// <summary>
        /// 确认时间
        /// </summary>
        public DateTime? ConfirmDate { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 打回原因
        /// </summary>
        public string BackReason { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateUserID { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateDate { get; set; }

    }
}
